<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>头部页面</title>
<link href="<{$smarty.const.BASEPATH}>/css/base.css" rel="stylesheet">
<link href="<{$smarty.const.BASEPATH}>/css/admin_style.css" rel="stylesheet">
<script type="text/javascript" src="<{$smarty.const.WEBDIR}>js/jquery.min.js"></script>
<script language="javascript">
function fnOnTabClick(tab)
{
	//修改Tab样式
    $("#header_tabs > ul > li").removeClass("current");
    $(tab).parent().parent().addClass("current");
}
</script>
</head>
<body>
<!-- header -->
<div id="header">
  <div id="logo"> 管理后台</div>
  <div id="panel">

    <div id="header_tabs">
      <ul>
      <li class = "current">
          <span>
                      <a href="<{spUrl c=main a=right}>" onclick="fnOnTabClick(this);" target="mainFrame">首页</a>
                      </span>
      </li>      
      <{foreach from=$toplist item=g}>
      <li>
          <span>
          <a href="<{spUrl c=main a=left fid=$g.aclid}>" onclick="fnOnTabClick(this);" target="leftFrame"><{$g.name}></a>
          </span>
      </li>
	        
 <{/foreach}>
       <li>
          <span>
           <a href="<{spUrl c=news a=createRss}>" onclick="fnOnTabClick(this);"  target="mainFrame" title="生成新闻RSS">新闻RSS</a>
          </span>
        </li>
       <li>
          <span>
           <a href="<{spUrl c=system a=clearCache}>" onclick="fnOnTabClick(this);"  target="mainFrame">清空缓存</a>
          </span>
        </li>
	  </ul>

      <div id="header_links">
        <p>您好, <strong><{Adminname}></strong> &nbsp;&nbsp;[&nbsp;<a href="<{spUrl c=user a=logout}>">退出</a>&nbsp;]</p>
        <p><a href="<{$smarty.const.WEBURL}><{$smarty.const.WEBDIR}>" class="btnlink" target="_blank">网站首页</a> </p>
      </div>
    </div>

    <div id="breadcrumbs"></div>

  </div>
</div>
<!-- /header -->
</body>
</html>